Skip to content

Conversation

@franmomu
Copy link

When the user input is the main cause, the warning message was empty.

I added one, but since I'm not a native speaker (as you can notice 😬), any suggestion for the message is more than welcome.

I also added some phpstan doc: https://phpstan.org/r/68533b15-9d58-4205-9a0f-5664c8aca3fe

@coveralls
Copy link

coveralls commented Apr 14, 2020

Coverage Status

Coverage increased (+0.005%) to 98.184% when pulling f1290df on franmomu:add_warning_user_input into dde9679 on bjeavons:master.

@bjeavons
Copy link
Owner

Hello @franmomu, thank you for the PR and also for the test, very much appreciated! I want to come back to this and give this another review after more thought, the suggestion language has some unique context. Zxcvbn-PHP doesn't know why a call is passing user data so the suggestion shouldn't make too many assumptions.

@franmomu franmomu force-pushed the add_warning_user_input branch from 0a405a0 to f1290df Compare May 14, 2020 19:16
@franmomu franmomu force-pushed the add_warning_user_input branch from f1290df to 8391f06 Compare December 22, 2021 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants